package com.dubito.gallery

import android.os.Parcelable
import com.google.gson.annotations.SerializedName
import kotlinx.android.parcel.Parcelize

/**
 *author: liliang
 *date: 2020/11/13 10:41 PM
 *
 */
data class Pixabay(val total: Int, val totalHits: Int, val hits: List<PhotoItem>)

@Parcelize
data class PhotoItem(
    @SerializedName("id")
    val photoId: Int,
    @SerializedName("webformatURL")
    val previewUrl: String,
    @SerializedName("largeImageURL")
    val fullUrl: String
) : Parcelable